igloos backup

change cookie login to rpc api login