Move error checking login in ajax request to django forms. Change default value of del in ajaxRequest. Change submit input values.