insert new user account rows

Also added symbolic (no more magic numbers) for accessing query result
columns.