fixed a problem with multiple users being logged in at the same time