databases setup & passing info