Box interview question

How do you store/validate a user's login information?