Added dbutils.py and fixed a dumb error with a view class sharing a name with a model class.
fixed issues with views and flask login