Rewrite front end for logged in users

This update enables the user to display the Wordpress admin bar on the
front end by rewriting front end URL’s for logged in users. The update
also fixes non-secure SSL issues with the customisation screen.