Login and Logout completed. Session check. JsonRPC mask.
Currently an ajax call is made upon a page load 
to verify if there is a valid session.
Mask added for all JsonRPC AJAX requests.