Changes on how the tasks handling the resources.Updated vector templates
fixed user controller