Implemented profile editing and improved templates.