add Cron for setQuest() and rewrite logged function