public function setIterinaryStartDate(Request $request)
 {
     $request = $request->all();
     $token = $request['token'];
     $iterinary_id = $request['iterinary_id'];
     $date = $request['start_date'];
     $error_bag = [];
     $input_bag = ['token' => $token, 'iterinary id' => $iterinary_id, 'start date' => $date];
     $i = 0;
     foreach ($input_bag as $key => $value) {
         $value = trim($value);
         if (empty($value)) {
             $error_bag[$i] = "{$key} is empty";
             $i++;
         } else {
             //
         }
     }
     //filter of false or null values
     if (array_filter($error_bag)) {
         return response()->json($error_bag, 400);
     }
     $start_date = Carbon::parse($date);
     return UserSessionHandler::setIterinaryStartDate($token, $iterinary_id, $start_date);
 }