add page created and some functionality added