get user identity and doctor password