allow for both array or user_id in user::getProfileInfo