login view, form, ajax validation