put hidden fields on the view to store session information