add login action and some Daos