def METHOD_NAME(doc, origin):
    if not get_user():
        logger.info('there is no logged in user so no membership is allowed')
    else:
        blog = get_resource_service('blogs').find_one(req=None, _id=doc.get('blog'))
        owner = blog.get('original_creator')
        add_activity(
            'liveblog:request', 'one user requested liveblog membership',
            resource=None,
            item=blog,
            item_slugline=blog.get('title'),
            notify=[owner])
        send_email_to_owner(doc, owner, origin)