Fix duplicate caching of users
Fix duplicate caching of users

The function cacheUser now checks if a user has been already cached before
it pushes the user into the cache.

The function guest has now a more extensive check to see if a connection
was properly etablished.

welovekpop/plugged,SooYou/plugged