user validation, login, and signup