extend CKEditor function call for Twig to enable setting of the /MEDIA directory. The function now also check if the user is authenticated and show the MediaBrowser only in this case - otherwise enable URL Dialog for images