accept school info and database connection to school table