fix unique username enforcement