more fixes for login page