[#80564] Only load layersByGroup when there is a user logged.
Merge pull request #35 from juanluisrp/80564-loadlayerbygroup

[#80564] Only load layersByGroup when there is a user logged.
Added partial fix for #80031: layers of raster types can be loaded into the toc (and the map).