issue 1253 - prevent multiple logins with same username

Resolves issue #1253