add authentication for all pages