fix a bug,can't prevent a login user to register