fixing the login panel on homepage