Fixed not passing tests + Refactored
refactored tipp#index
cookie refactor