Added user/data rpc
Fixed cookie re-setting for requests that are authenticated.