move test data logic to python script
fix crash caused by unregistered logins
switch templating engine to nunjucks
factor middleware into own module
refactor user registration into own module
move add event logic to own module
remove database logic from server
move config to root
refactor rest of server logic into controllers
move routes into own module
use primary button for form submission