added the notice for the frontend when a restricted page is accessed