reg redirection to login done