the new branch with the function userlogin