initial commit with getting index for cetagories with working authentification