updated for Kv and User

- refactor Cache and User to use Kv exclusively
- add handling for sessions and User to index.php
- refactor Kv for use as a proxy/wrapper to redis