updated readme
added comments
constructor takes tried JSON.parse(obj)
cookie auth working