added primefaces support for main page