Add validation functions for account and client.
Merge branch 'master' of https://github.com/Diana22/ProjectMVC