Fixes #41. Changes validation for the update of a user.