fixed has_many relationship with users and task_records