Wrote Database page