Login page redesign and code cleanup

Updated the login page layout and updated CSS names for consistency.