added routing and cookies