Add required module redis
Set cookie according to the query string