Correct public function getCardsByUsername($username) in User Model