fix profile not reloading once log in