Modify public_profile def to get details