fixed the modeling
del db, and update login/register