I don't know if there's an official or standard way to do this with Firebase but if that's not the case what I would do is to store the type of user in the database and then check the information before login. The logic would be the following:
- Get the type of user given an email
- Check if the type returned matches the login screen type
- Do the login if the type matches, show some error otherwise
I hope this helps.