better null pointer checking in client-related classes
allowed removing the current card from wallet in case of non-existant card error, when coming from createNewCard() procedure
handling failed card creation (null object returned) in the client