CON-1447: Init notifications js only when user is logged in