updated tasks controller and task view and task partial with nested resources