admin app fixes. fixes PMT #83601 (part 2)
sessions have to come before messages