Added a decorator for secure service