updated validation in /menu.jsp