Added username checking when registering