Update task.py

Now returns user_id, event_id