Added Logout functionality and created Home Controller for logged in operations.