Displaying error messages, and succes, complete Register User using AJAX