Placed methods inside the card class
Placed methods inside the user class