[BF] fixing privileges
[NF] Agregating logs
[BF] Few code fixes