Fix bugs in View All Users page

- variable $user overwrites the global variable $user
- fix html markup for link with real_name