Displays thank you message on user name entry

Changed some variable names for better semantics. Too many items were named "name". Updated other variable names to be relevant to this funtion.