fixes #8 -- account validation