Implemented Session handling for doctor, nurse, and patient.