switched from php to jade for html templating