def setOfflineUsername(_name, _key):
    """
    Sets the username and key for the session

    Equivalent of the setDBUsername function in database.py
    """
    global name
    global key
    name = _name
    key = _key
