Added validations and tests for Updating a User