Update index.rst

add `import`, and a simple user class