i have a web application, i need to let the user to log in to the system in maximum 2 sessions at the same time. how to handle this? any help