session.setAttribute("username", "admin");
String username = (String) session.getAttribute("username");