added OPTIONS for resources