worked on functionality of create page