removed some auth stuff, added memcache
made request caching a little more readable