new db structure for new login/register srript by quintus