Added ability to log out