Update authentication to use form_tag