Ensured username and password will be unique

Since users are logged in based on username and password the combination
needs to be unique alower the system. This makes it possible to have
multiple users with the same username but with different passwords.