Adding DB bindings to views