Created cookie data and displayed in home view