implement root controller