Jsonified the client
Use loading cache to manage sessions