Implemented response time logic and added tweet id handling to avoid duplicates