Get profile editing working. Refs #11