在addAction中也用session.getAttribute("username")来读取username消息。