added constraint to the login name that it should be unique