added index.xhtml and clean-up register