Handled integrity error while creating users