get only required fields from user for msg class