added cross-origin access to variety resource