Unable to proceed to next page by clicking on "next" button