Added unique checks to nickname and logging