Added datastore support for UserSession and corresponding JUnit test.