added information about state and sessions, specifically headers