added rate limiting to server