Redirection of userlogin function