added dbConnect to submitScore