Tests for pages when user isnt signed in.
Refactor