Fixed registering of users with same username