add author detection to commit command