changes done to display ad in the topadbar after login