How to Create Login for Users with different Role?

Database,

Editor for Doctor Login:
image

Login button action:

You can do the same for Patient Login & follow the sigup to set permission doctor/patient based on page access.
Note: it can be work if you are not applying privacy rules. Otherwise need to follow alternative way to proceed the login with help of backend api
Please refer : Restrict user login depending on user status - #4 by viable