Change user view to use smarty template