def author_name():
    """
    Utility to compute logged in user name
    
    :returns: name of current user, ``str``
    """
    import getpass
    name = getpass.getuser()
    try:
        import pwd
        login = name
        name = pwd.getpwnam(login)[4]
        name = ''.join(name.split(','))
        if not name:
            name = login
    except:
        pass
    if type(name) == str:
        name = name.decode('utf-8')
    return name
