[AH-1855] Inject view pubdomain to rpc config
Added RPC bundle to publish template
Handling of default role for logged in users