got server to send database query