set up the base routes, and templates, and made a simple login system