fixing login panel on homepage

Fixing the divs and applying appropriate classes from bootstrap to fix the structure of the homepage for both logged in and logged out users. Fixed the layout structure of the profile page - need to work on the css for styling.