* Use cookie in pwd
* Add onResourceReceived