basic server updates to handle query strings