Fixed a bug in bar chart for logged in user, Added the iframe code