Allow for handling different logins

At this point, all tasks are assigned user_id 1. This will be changed in
a future commit.