Magic cookie check and loggers