added 20 minutes logic for pickup datetime. made view history page functional.