completed security changes and integrating demo page into app