This is an asynchronous function, and as such GameMaker: Studio does not The create event (for example) of the object that is controlling the login of our user .