using lrutils to handle errors and after_request headers
Merge pull request #125 from LandRegistry/use-lrutils

using lrutils to handle errors and after_request headers