update login action and queries in DaoUser

update login action and queries in DaoUser