added cookiestore functionality to push the username to an array that repeats content on the view