updates to the controller
added select-users directive