Adds validation to create profile.