Added form validation to create page form and used the form codeigniter form class