add additional database communication; add nodemailer; add jade and unimplemented template files