this just some handy Middleware functions for Rest.go