added dao, and login filter(that is useless as of right now)