public function store()
 {
     try {
         //get the input that is passed in from Backbone
         $addModel = Input::json()->all();
         //creates a new labCheckout
         $addCheckout = new LabCheckouts();
         $addCheckout->lab = $addModel['lab'];
         $addCheckout->phone_number = $addModel['phone_number'];
         $addCheckout->checkout_date = $addModel['checkout_date'];
         //sets the name and email to what was received from LDAP
         $addCheckout->name = $addModel['name'];
         $addCheckout->email = $addModel['email'];
         //saves the checkout, then returns it to Backbone
         $addCheckout->save();
         return $addCheckout->toJSON();
     } catch (Exception $e) {
         return json_encode('{"error":{"text":' . $e->getMessage() . '}}');
     }
 }