updated initialize with cookie data function
Modified to only take cookie data
Modified back to just obtaining the cookie from the server
Modified back to just obtaining the cookie from the server by name
Back to data method for initializing cookies