Added Session Ending

The session is destroyed when the user logout