Fixes #75 user entity not being in the registry
removed deprecated registry and use session
Merge pull request #79 from gabriel403/hotfix/75

Fixes #75 user entity not being in the registry