Added loading icon during ajax request
Added styling to error messages