Add an option for a callback to fetch user data

The callback should be a callable object that takes the uid as an
argument