check if the username is already in the object. Fixes #6
Merge pull request #9 from ssherar/bugfix/multiple-logins

check if the username is already in the object. Fixes #6