config ajaxlogin at the backend