add basic validations for login/signup