Added field user in task
Added associations and validations for user and task
Add association between task and user in controller
Added user in task