restored components for item autosave and lock; assign task on item lock

seems like the issue is that when setting assignment it's using tasks as endpoint name but it should be using archive. thus mongo lookup doesn't return anything because there is no such item