'get_current_user from Authorization header token'

def get_current_user_token(self):

    token = self.get_auth_token()
    if (token is None):
        return None
    orm_token = orm.APIToken.find(self.db, token)
    if (orm_token is None):
        return None
    else:
        return (orm_token.service or self._user_from_orm(orm_token.user))
