adds patient search and sign-in redirect