added custom render template function that always sends the user in session