Ideally, you can have an Option set called Roles that has the roles of Practitioner and Patient. Set this in your User data type as an attribute (Role)

Now when the Role is Practioner, redirect them to the respective page, and similarly for the Patient Role as well

You can keep a single log-in as well instead of maintaining two separate ones, but depends entirely on your use-case