check if user's first name and last name exist before displaying them