fixed  getAllObjects DAO and removing beans