took the printing results for user statement out from template, closes #224