Added getSurgeryList method and small fix in sendPictureToServer