for allowing access to pages