Implemented the log out functionality and the basic home page for the phase1.