add status code for root redirect