login and homepage fixed