Permission loading optimization.

Inversed permissions object relation so we can load object from
permissions. Load automatically all permissions on session user refresh.