[Fixed] Properly handle player on login, join and quit