Added code to make nickname unique in views.