Fixed caching and got the user's name displaying properly even on logout.

Ran into an issue where the cache was retaining the user’s name even
after logout. As a result, we’re now clearing the cache as part of the
logout() method in authService.js.