got cookie login to work