Login and Home page layout implementation