Could you show which dependencies you included in your project?
And could you also post the import statements from LoginBean? You are using @ManagedBean and @Named. That looks weird. Are you using JSF beans or CDI beans?
Do you play Magic?
Get TopDecked MTG, the #1 Magic App, built by players, for players. Free to use, forever.