Working on RPCs. Fixes to gatekeeper and authentication. Logout url has been added.
Working on JSON test client, RPCs and model