private async void newGuest() { //Send to DB var phoneNumber = txtPhoneNumber.Text; var hostName = txtHostName.Text; VisitorDataPayLoad visitor = new VisitorDataPayLoad(); visitor.CompanyName = userCompany; visitor.EmailAddress = userEmail; visitor.FullName = userName; //I think the guest name is the same as username. I suggest we add another field in Register to get visitor.GuestName = userName; //a particular name to link to change name since name can be changed. visitor.HostName = hostName; visitor.InvitationCode = "No Invitation Code"; //This helps confirm the guest has no invitation. visitor.PhoneNumber = Convert.ToInt64(phoneNumber); visitor.Photo = userPhotoString; //Reason - what if user change name or picture later? This to identify what he/she looked like during that visit. visitor.Signature = base64String; visitor.ThumbPrint = "@"; RemoteService service = new RemoteService(); ResponseMessage msg = await service.CheckInRegisteredUser(visitor); if (msg.ResponseCode != 0) { MessageDialog md = new MessageDialog("Could not complete Check In: " + msg.Message); await md.ShowAsync(); return; } this.Frame.Navigate(typeof(HubPage)); MessageDialog tag = new MessageDialog("Please pick your tag : Your Check In Code is " + msg.Message + ". Please click OK button after copy"); await tag.ShowAsync(); }