refactor render monitoring
use slick for access to db