added completed userprofile.php and activitytype.php