[Fixes 72675318] create permission entity

empty db file inside. have to branch from current branch for further working on this
Adds sessionId to ... (if you say 'add', it's like asking the reader to add)