using redirects for root requests