Move retrieving templates into login and run (to handle refresh)
Move retrieving templates into login and run (to handle refresh)

materials-commons/materialscommons.org,materials-commons/materialscommons.org,materials-commons/materialscommons.org,materials-commons/materialscommons.org,materials-commons/materialscommons.org