added cookie locations to events controller