add rate limiting to actions