Need to add in a fall back in case a client isn't found, or the next line will fail on using the $client variable.
```
if( $client != NULL ){
  $lrs = \Lrs::find(  $client->lrs_id );
} else {
       return Response::json(array(
         'error' => true,
         'message' => 'Unauthorized request.'),
...etc...
```