Finetuned CreatePage, added EditPage. Created Helper function for inserting and selecting input fields