Upgraded data tables function parameters and changed layout to navbarpage.