The reqeuest class now uses the immutable array
Fixed test
Redirect to login when not authenticated