Added uniqueness of nickname requirement and unit tests.