Added validations for signup and edit User