working version of login page