ui stuff and a couple of routes