}
@Override
protected UsersRepository getUsersRepository() throws Exception {
factory = OpenJPAPersistence.getEntityManagerFactory(properties);
JPAUsersRepository repos = new JPAUsersRepository();
repos.setLog(new SimpleLog("JPA"));
repos.setEntityManagerFactory(factory);
return repos;
}