fix some isue after keeping one user login