updated LoginBean.java and menu.xhtml