removed cookie checking