Make sure user cannot reach unauthorized pages