server accepts or creates database