removed getAnonymousUser from usermanager