refactor session form_for to a more rails convential form_tag