renamed main.xhtml to index.xhtml for the sake of requirements stated by the lecturer