factor out lame accounts plugin