Create query page

implement ajax requests to server