Refactored to make a little more clean and using the callback properly for the template.
Changes to name are pushed back to the rest connection for Profiles.