enabled logout function via /logout
updated docs for logout