created routes for cookies