use flask url_for() method in all urls in template
log to disk and expose /log route