redirection after registration
login validation