Added logout JSON query

Added logout JSON query class
Now only user ID is stored in session
Status shows user ID instead of name.