editted the profile edit page
adding validation