added pojo and dao entities for the accesscontrol system
Entity mapping fixed.