'alternative get_current_user to query the Hub'

@staticmethod
def get_user(handler):

    if (HubAuthenticatedHandler not in handler.__class__.__bases__):
        handler.__class__ = type(handler.__class__.__name__, (HubAuthenticatedHandler, handler.__class__), {})
    return handler.get_current_user()
