Added validation to prevent duplicate nicknames