renaming token endpoint