working controller to get results back
use jinja templates by default