added posting button for Index app
hides posting button if the application is hosted by a remote server