Added validates_date validation to account