webdev: finish DB part