Start of implementation of session loading

First steps, ajax call