Fixed bug with login page