Eliminating duplicate username bug