Single pages now communicate to the db