added extend hooks to Register and ProfileForm