Ext 182 duplicate username bug

Fixed duplicate username issue and twitter registration.