Is there a way to prevent login from device B if the user is logged in from device A?
Yes, there a way, look at this stackoverflow issue
Thanks a lot for your help!