Client and server validation of user details editing.