add input validation for account login, activate, setup password