Created first version of session service.