Added activate/deactivate selected users and sorting users functionality