Move flagsAction() functionality into the user model
drwxr-xr-x - dbadm
drwxr-xr-x - external
drwxr-xr-x - manager