Changed user id to default current_user when creating workorders