added ability to log out