automatic decode cookie value