removed echo "connecting to database"