changes made to patient

Now the networking between patient and doctor seems to be working.