added event binding to user change