handled account validation