add form and pagination