This prevents continious updates on logout after the threshold has been reached. Also initialize lastXp when the plugin starts in the event the player is already logged in.