adds edit page for decks and cards