logout

Added log out functionality