Updaed login.html related logic