Replaced IdentityUserByUserName with an Index