changed findOne() in schedule controller to find a certain id and set the schedule scope.