Added Primefaces and used a LoginBean SessionScoped plus a UserBean ViewScoped