added method to get external apps, added fields to user serialization