Adds account scoping thru a database field.

The scoping is done by doing an SQL query through a simple association
call.