Added trigger for User::setActiveUser