Validating the user