Set user variables for cookie login