added bootstrap styling to dashboard
switched to express templating
split up index and api routes