added authentication on all pages