'Get the user info from the API
@param token: the current access token
@return: user info (dict)'

@classmethod
def call_api(cls, token):

    api_response = urllib.urlopen(('%s?access_token=%s' % (cls.API_URL, token)))
    user = json.loads(api_response.read())
    if (not user):
        user = None
        current.session.token = None
    return user
