Setup the session service and repository