"handled null case for the first name and last name for the user"