add login and email validations