Add user details validation.