add card and showing errors