Added cookie model and changed root view