Added addpages() function to display menu item under settings panel