added refresh page and cron job