fixed login on main page