if (accessToken != null && accessSecret != null){
OAuthParameters params = new OAuthParameters().consumerKey(CONSUMER_KEY)
.signatureMethod("HMAC-SHA1").version("1.1").token(accessToken);
OAuthSecrets secrets = new OAuthSecrets().consumerSecret(CONSUMER_SECRET)
.tokenSecret(accessSecret);
oAuthFilter = new OAuthClientFilter(client.getProviders(), params, secrets);
service.addFilter(oAuthFilter);
accessIsSet = true;
} else {
accessIsSet = false;
userRegistered = false;