patients view and patients controller