Added ability to logout from home page