Change ajax login to form_tag