Added link to parent in template. generalized classes for token authorization. Removed serialization of DetectMeProfile