made it so when you press send, it returns a JSON containing the information of the patient and whatnot, as well as an element that identifies who has logged in and pressed the send button