added emit of user change