Lesson 7: Add validations and foreign key for Card