Fixes #6875 : Retrieve logged in user in back-end and respect front-end ...

...roles when viewing the page in front-end.