Working version: loads todos correct from cookies