def author_structure(user):
    """
    An author structure.
    """
    return {'user_id': user.pk, 'user_login': user.get_username(),
        'display_name': user.__str__(), 'user_email': user.email}
