add and edit News working with DB