Add permission check before resetting speed on login