Enable/disable the apply button
Fail safely if user has no groups
Manage groups for user
Unrequired code