database fixes, stubs for controllers