templating
added route. added login function