renamed root controller to pages