deleted templates_apps table, fixing up set up profile