Added ability for user to log out