refactoring accounts' models for admin web app and fiexed some references in the models