card details is almost done. findByNumber should foreach the creditcards for the matches and not just guess. remove card details code from main.js