get admin and postgres working