How to set up 2 different login methods

Hello, noah , I hope you are already done with that part of your website , can you share how did u work with assignRole() function, I keep copying and it still doesn’t work for me somehow