update login action and queries in DaoUser