Fixing an issue for invalid username urls