need user and db