fixed no file refresh on login issue with godawful hack