added FacesContext login support