changed registration username uniqueness validation from database.