added login to all pages