Implemented a hashmap to handle user tasks.