change authentication to be common for all pages.