Added basic rate limiting