add pg for test database, adjust for S2 in teacher dashboard