use decorator for status endpoint as well