updated the "add card" view and added "view card" view