Fixes adding a dev user to a project

Hitting the "add" button doesn't work for adding dev users to a project. It appears the problem is a scope issue. By working with an object model rather than referencing the value directly we avoid the scope collision.