Fixed error for user index