assign root in routes file