Implemented search box, fixed permissions checking code, fixed isOrgAdmin()