add QueryPage as generic parameter, add default serialVersionUID