made management working again, created a search box for patients