Added cookie function to welcome message.