implement page submits