Added nickname checking to make sure nicknames are not duplicates.