added presence manager and updated account manager