added bean service to observer