added goto_login for register page