fixed duplicate user bug