New query registration.
Creates a new query and stores it for the current user (associated with the connection to the Administration Server).