MOD:add redirect and refresh for lottery