replace user_name with username in all instances