patient invite doctor spec and set session after sign-in and sign-up