Added form for adding and editing