added basic pages, added authentication