converting user module to use abstract database class
config db to user controller
tweaking user controller and models to actually work