added demo dashboard and settings pages
added code for demo and settings page
minor changes