Added code to set a response header that says logged in or logged out. 401s sent out a lot so this will differentiate for when a user needs to reauthenticate