Login issue, user receives a temp profile

https://github.com/MutonUfoAI/pgina/issues/12
Merge branch 'plugin-pgSMB'