environment.jersey().register(new ClientResource());
environment.jersey().register(new UserResource(dao));
environment.jersey().register(new AuthResource(client, dao, clientSecrets));
environment.servlets().addFilter("AuthFilter", new AuthFilter())
.addMappingForUrlPatterns(null, true, "/api/me");
}