Added error messages to profile form.