cleaned up routes a bit, made flash messages a bit nicer