def doc_show(context, data_dict): """ Show the extra information about the user. Paramenters: id the user id or username :returns: a user_extra dict containing basic and extra information """ id = get_or_bust(data_dict, 'id') googledoc = GoogleDoc.get(id) if googledoc: return googledoc.as_dict() else: raise NotFound