I want to ensure that the users can't share the same login/password.
To do this, when a user try to log in i want to check if he is not already connected on a different computer.
My first idea is get all the users having actives sessions, but i don't know how ? Or may be there is a better way ?