Added authentication to pages