built in session and template