Predictions reset every day. Fixed cookies error

Predictions now reset everyday and cookies now work properly.