finish the login of the website