Isn't there a Computercraft method to check if a player is logged in?
When you log in, it can output a redstone signal to pull the cells from a strongbox. Might be best if it went through a tesseract. Then it can go into the Ae system.
When you log off, it reverses the signal so that it goes...