registration redirection to login page