Modified the UserManager: add message, now it seems to work and it raises an exception when the user already exists.
Added UsersTests class and the testDuplicatedUserName test that covers duplicated usernames.