error messages added to edit profile searching