displaying message when greeting is submitted