add shared attributes
added main page
added navbar