Split down get_wp_user_data method so we can reuse most of the code. See #9