changed from get to post methods in form to prevent input of faulty values as page numbers