fix problems in admin tool

1. fix bug in validating store names on nodes
2. rename some functions
3. use node id rather than node object in admin command functions