Generified dao interface and implementation. Changed 'users' table structure.