Fixed login page

Made the login page redirect to the main page upon successful login.
Fixed user pages

Fixed the info and popups on the user pages.