finish the login page