ECMS-5768 check if user is authenticated, return forbidden response in c...

...ase user is anonymous