edits users class handles username duplication