login/register ok but issue in sqlite