Fixed chat controller with Q, switched back to memory db