user can log out and is directed to the homepage