Ajax login form validation + custom error handling