adding configuration and ensuring discipline page is returned from route