Add logic to display of pages
adjustments to logic
fix to jsf logic in start.xhtml