Fixed user identity bug