Make validation work for accounts