Added id to cookie