Updated plugin for get cookies from server