Modified code to verify id, then load userData