removed unused entries from web.config. Added AngularJS if-else for profile index