bugfixes in form generation; expose list of users to Angular; start making a ref picker