change allstation use to hash of hashes in main_page controller