added db structure and user test