Add retrieve and delete api for cards