Replace form_for with form_tag when generating session