doctor view and homepage