check if first/last_name params are set before accessing