implement Add card and Delete card

Adding new card works, but the newly added cards don't seem to be
editable / deletable (however, records manually added in db are editable
/ deletable)