Since this is designed to be run inside parent rails app, inherit from parent apps application controller.