working version of the login page