redirect to home page after login

And minor cosmetic changes