reload pages after login