Adding logout endpoint for session based authentication