Implement security in ApplicationsResource