Switched to mysqli interface. Added db_user module (WIP)