create page handles ajax