get Cached User
getCachedUser gets users saved in the cache instead of going through db read again.
Return
The User object with the specified deviceId if it exists in the cache. null otherwise.
Parameters
device Id
The deviceId of the user to retrieve.