working on accounts
fixing resource refs
fixed account mgmt bugs