Added validation for entering coin