added basic account validation for collection.