adds has many: time_sessions to task with api controller and tests