add db connection to save route and get route